home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Applications 1999 May / SGI IRIX 6.5 Applications 1999 May.iso / dist / impr_print.idb / usr / share / catman / a_man / cat1 / hpnpf.z / hpnpf
Text File  |  1998-05-04  |  6KB  |  199 lines

  1.  
  2.  
  3.  
  4. hhhhppppnnnnppppffff((((1111))))                         IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo                          hhhhppppnnnnppppffff((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      hpnpf, nethandler - network peripheral filter
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      hhhhppppnnnnppppffff ----PPPP _p_r_i_n_t_e_r_n_a_m_e ----xxxx _p_e_r_i_p_h_e_r_a_l [ ----nnnnNNNNRRRRvvvvwwww ] [ ----aaaa  ttttyyyyppppeeee ] [ ----bbbb  jjjjoooobbbbssssiiiizzzzeeee
  13.      ] [ ----jjjj  jjjjoooobbbbiiiidddd++++uuuusssseeeerrrriiiidddd ] [ ----llll _l_o_g_f_i_l_e ] [ ----pppp _p_o_r_t ] [ ----ssss _s_t_a_t_u_s-_f_i_l_e ] [
  14.      _f_i_l_e ...  ]
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _H_p_n_p_f is a specialized TCP driver for driving network printers.  A
  18.      network printer is a printer attached to the local area network via its
  19.      JetDirect interface or JetDirect EX interface.
  20.  
  21.      _H_p_n_p_f is capable of handling bi-directional communications.  It accepts
  22.      input from either file(s) or standard input.  If the file(s) is supplied,
  23.      it reads each _f_i_l_e in sequence, sends it to a network printer over a TCP
  24.      connection. If no input file is given, or if the argument - is
  25.      encountered, _h_p_n_p_f reads from the standard input, enabling hpnpf to work
  26.      with other programs. _H_p_n_p_f also handles the information coming back from
  27.      the printer.  Depending on the specified options (see below), _h_p_n_p_f may
  28.      pass all the information to standard output, or filter out the PJL data.
  29.  
  30.      If _h_p_n_p_f fails to make a connection to _p_e_r_i_p_h_e_r_a_l, the connection is
  31.      retried until a successful connection is made unless ----RRRR is specified.
  32.  
  33.  
  34.    OOOOppppttttiiiioooonnnnssss
  35.      ----PPPP_p_r_i_n_t_e_r_n_a_m_e
  36.           _p_r_i_n_t_e_r_n_a_m_e is the name under which the System V R3 spooler
  37.           recognizes the printer, as given on the llllpppp command line.  Used to
  38.           update the Impressario POD status data base for the printer.
  39.  
  40.  
  41.      ----aaaa _t_y_p_e
  42.           Indicate that the printer is a PJL (Printer Job Language) based
  43.           printer. The _t_y_p_e identifies the type of network interface: 1 for HP
  44.           JetDirect interface, 3 for HP JetDirect EX interface.
  45.  
  46.  
  47.      ----jjjj _j_o_b_i_d+_u_s_e_r_i_d
  48.           Provide job id and user id to hpnpf.  Both are used status messages.
  49.  
  50.  
  51.      ----llll _l_o_g_f_i_l_e
  52.           Write verbose logging information to _l_o_g_f_i_l_e.  The logging messages
  53.           are details about what _h_p_n_p_f is doing.  It is mainly for debugging
  54.           use. If the specified log file is not writable, no logging is
  55.           performed.
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. hhhhppppnnnnppppffff((((1111))))                         IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo                          hhhhppppnnnnppppffff((((1111))))
  71.  
  72.  
  73.  
  74.      ----nnnn   Send the PCL escape sequence (ESC&k2G) before the files.  This sets
  75.           the end-of-line character to be newline (ASCII LF) instead of
  76.           carriage-return/line-feed.
  77.  
  78.  
  79.      ----NNNN   Translate newline (ASCII LF) characters to carriage-return/line-feed
  80.           character pairs for data sent to the network peripheral.  Do not use
  81.           this option for binary transfers.
  82.  
  83.  
  84.      ----pppp _p_o_r_t
  85.           Connect to _p_o_r_t on the network peripheral.  The default is port
  86.           9100.
  87.  
  88.  
  89.      ----RRRR   Do not retry connecting if the first connection attempt fails.  This
  90.           option allows the retry interval and number of retries before giving
  91.           up to be controlled external to _h_p_n_p_f.
  92.  
  93.  
  94.      ----ssss _s_t_a_t_u_s-_f_i_l_e
  95.           A a series of printing events are recorded in this file The details
  96.           varies, depending on the type of printers, network interfaces, and
  97.           whether the true end-of-job is turned on or off.  The status
  98.           information is recorded in the following formats:
  99.  
  100.           <date>%%[ status:  <status>; source:<ethernet/token ring> ]%%
  101.  
  102.           <date>%%[ status:  <status> ]%%
  103.  
  104.           <date>%%[ printer: <printer error> ]%%
  105.  
  106.  
  107.      ----xxxx _p_e_r_i_p_h_e_r_a_l
  108.           Send the file to _p_e_r_i_p_h_e_r_a_l.  This may be a host name or dotted
  109.           decimal Internet address.
  110.  
  111.  
  112.      ----wwww   Turn on _t_r_u_e _e_n_d-_o_f-_j_o_b.  By default, hpnpf reports successful as
  113.           soon as all the files are sent successfully.   Turning on _t_r_u_e _e_n_d-
  114.           _o_f-_j_o_b forces hpnpf to hang on until receiving a signal from the
  115.           printer indicating that the job has been completely printed.  This
  116.           option is only valid for printers which implement PJL job commands,
  117.           such as LaserJet 4, 4Si, and 4 Plus.
  118.  
  119.  
  120.  
  121. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  122.      _H_p_n_p_f returns 0 if all the files are sent successfully (true end-of-job
  123.      is off), or when a job are printed successfully (true end-of-job is on).
  124.      It returns non-zero values if a failure was detected.
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. hhhhppppnnnnppppffff((((1111))))                         IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo                          hhhhppppnnnnppppffff((((1111))))
  137.  
  138.  
  139.  
  140. AAAAUUUUTTTTHHHHOOOORRRR
  141.      Hewlett-Packard.
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.